package com.azdebugit.moshi.test.learn.zhuangshimoshi.test.abs;


import com.azdebugit.moshi.test.learn.zhuangshimoshi.test.IComponent;

public class DecoratorB extends Decorator {

    public DecoratorB(IComponent component) {
        super(component);
    }

    @Override
    public void sayHello() {
        super.sayHello();
        System.out.println("B");
    }
}
